package ltu.thole;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainMenu extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
    
    /** Called when the user clicks the button. */
    public void callIntent(View view) {
    	Intent intent = null;
    	switch (view.getId()) {
    	case R.id.button_client:
    		// Start the new activity.
    		intent = new Intent(this, Client.class);
    		startActivity(intent);
    		break;
    	default:
    		break;
    	}
    }
    
}